package com.guigu.leizihao.service;

import com.guigu.common.pojo.DFile;
import com.guigu.common.pojo.SCell;
import com.guigu.common.pojo.SGather;
import com.guigu.common.pojo.SGatherDetails;
import com.guigu.leizihao.vo.SGatherDetailsView;
import com.guigu.leizihao.vo.SGatherVo;
import com.guigu.common.vo.SearchVo;

import java.util.List;

public interface SGatherService {

    SearchVo<DFile> findDfileInDESIGN_CELL_TAG(SearchVo searchVo);

    void addGather(SGatherVo sGatherVo);

    SearchVo queryGatherToAudit(SearchVo searchVo);

    List<SGatherDetails> findGatherDetailsById(int id);

    int changeSGather(SGather sGather);

    int changeSGatherNo(Integer id);

    SearchVo queryGatherAll(SearchVo searchVo);

    SearchVo findFormulateGather(SearchVo searchVo);

    SCell queryCellByProductId(String productid);

    int UpdateGather_details(Integer id);

    SearchVo<SGather> queryGather(SearchVo<SGather> searchVo);

    void updateGather_detailsquantityInStorage(SGatherVo sGatherVo);

    SearchVo queryEnterbankCheck(SearchVo searchVo);

    List<SGatherDetails> findGatherDetailsByIdandQuantityIinStorage(Integer id);

    void EnterbankCheckPass(SGatherVo<SGatherDetails> sGatherVo);

    Integer queryTotalcost(Integer id);

    List<SGatherDetailsView> queryGatherDetailsByproductId(String productid);
}
